<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$lang->wallet->address_book?> - <?=$lang->common->taiyi?></title>
<link href="/css/<?=$l?>/common.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="/css/<?=$l?>/home.css" />

<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/raphael.js"></script>
<script type="text/javascript" src="/js/index.js"></script>
</head>

<body>
<?php include PATH_TPL . '/'. LANG ."/header.tpl.phtml" ?>
<div id="main">
	<?php include PATH_TPL . '/'. LANG ."/wallet/wallet.header.tpl.phtml" ?>	
	<!-- 地址簿 开始 -->
	<div class="my_wallet my_add clearfix">
		<h2 class="Font18 left"><?=$lang->wallet->address_book?></h2>
		<ul class="Font14 right">
			<li><a href="/wallet/sendaddressadd?wallet=<?=$tWallet?>" class="plus"><?=$lang->wallet->add_new_address?></a></li>
			<li><a href="/wallet/more?wallet=<?=$tWallet?>"><?=$lang->wallet->back_for_more_options?></a></li>
		</ul>
	</div>
	<div class="wallet wallet_tabel clearfix">
		<table cellpadding="0" cellspacing="0" class="Font14 add_tabel">
			<thead>
				<tr>
					<th><?=$lang->wallet->address_label?></th>
					<th><?=$lang->wallet->address?></th>
					<th><?=$lang->common->action?></th>
				</tr>
			</thead>
			<tbody>

				<?foreach($tList as $tRow){
					if(!empty($tRow['ismine'])){
						continue;
					}			
				?>
				<tr align="center">
					<td><?=empty($tRow['account'])?$lang->wallet->no_label:$tRow['account']?></td>
					<td><?=$tRow['address']?></td>
					<td><a href="/wallet/sendtoaddress?wallet=<?=$tWallet?>&account=<?=$tRow['account']?>&address=<?=$tRow['address']?>" class="send"><?=$lang->main->send?></a><a href='/wallet/sendaddressedit?wallet=<?=$tWallet?>&account=<?=$tRow['account']?>&address=<?=$tRow['address']?>' class='modify'><?=$lang->common->change?></td>
				</tr>
				<?}?>
			</tbody>
		</table>
	</div>
	<!-- 地址簿 结束 -->

</div>
<?php include PATH_TPL . '/'. LANG ."/wallet/wallet.footer.tpl.phtml" ?>
<?php include PATH_TPL . '/'. LANG ."/footer.tpl.phtml" ?>
</body>
</html>
